]> git.pld-linux.org Git - packages/libsigc++3.git/blame - libsigc++3.spec
- updated to 3.0.4
[packages/libsigc++3.git] / libsigc++3.spec
CommitLineData
8df5f89a 1#
d1d622ab 2# Conditional build:
8dcfc624 3%bcond_without static_libs # don't build static library
db10935c 4%bcond_without tests # check target
d1d622ab 5#
5133f76b 6Summary: The Typesafe Signal Framework for C++
635b8004 7Summary(pl.UTF-8): Środowisko sygnałów z kontrolą typów dla C++
ab0420db 8Name: libsigc++3
32b65b3f 9Version: 3.0.4
1e5c6e05 10Release: 1
c27f8333 11Epoch: 1
3c2e80c3 12License: LGPL v2.1+
5133f76b 13Group: Libraries
ab0420db 14Source0: http://ftp.gnome.org/pub/GNOME/sources/libsigc++/3.0/libsigc++-%{version}.tar.xz
32b65b3f 15# Source0-md5: 63889b161cf61570dd704568a879882d
13e32c2e 16URL: https://libsigcplusplus.github.io/libsigcplusplus/
3e00d680 17BuildRequires: autoconf >= 2.59
f3a3158c 18BuildRequires: automake >= 1:1.9
32b65b3f 19BuildRequires: doxygen >= 1:1.8.9
ab0420db 20BuildRequires: libstdc++-devel >= 6:7
1c773249 21BuildRequires: libtool >= 2:2.0
0764e6a0 22BuildRequires: m4
ab0420db 23BuildRequires: mm-common >= 0.9.12
b02845a0 24BuildRequires: perl-base
d33e9e7d 25BuildRequires: pkgconfig
6e5cfdbe
JB
26BuildRequires: tar >= 1:1.22
27BuildRequires: xz
d0f81991 28Obsoletes: libsigc++-examples
8deca2bf 29Conflicts: libsigc++ < 1.1.0
b02845a0 30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
c014a68e 31
32%description
ae7d4fa5 33This library implements a full callback system for use in widget
34libraries, abstract interfaces, and general programming. Originally
a4ed2849 35part of the Gtk-- widget set, libsigc++ is now a seperate library to
ae7d4fa5 36provide for more general use. It is the most complete library of its
37kind with the ablity to connect an abstract callback to a class
38method, function, or function object. It contains adaptor classes for
39connection of dissimilar callbacks and has an ease of use unmatched by
40other C++ callback libraries.
c014a68e 41
e1f1abbc
JR
42%description -l pl.UTF-8
43Ta biblioteka jest implementacją pełnego systemu callbacków do
44używania w bibliotekach widgetów, interfejsach abstrakcyjnych i
45ogólnym programowaniu. Oryginalnie była to część zestawu widgetów
46Gtk--, ale jest teraz oddzielną biblioteką ogólniejszego
47przeznaczenia. Jest to kompletna biblioteka tego typu z możliwością
48łączenia abstrakcyjnych callbacków z metodami klas, funkcjami lub
49obiektami funkcji. Zawiera klasy adapterów do łączenia różnych
50callbacków.
45bd5da5 51
c014a68e 52%package devel
45bd5da5 53Summary: Development tools for the Typesafe Signal Framework for C++
635b8004 54Summary(pl.UTF-8): Narzędzia programistyczne do środowiska libsig++
5133f76b 55Group: Development/Libraries
b02845a0 56Requires: %{name} = %{epoch}:%{version}-%{release}
ab0420db 57Requires: libstdc++-devel >= 6:7
8deca2bf 58Requires: m4
c014a68e 59
60%description devel
5133f76b 61Development tools for the Typesafe Signal Framework for C++.
c014a68e 62
e1f1abbc
JR
63%description devel -l pl.UTF-8
64Narzędzia programistyczne do środowiska libsigc++ - sygnałów z
65kontrolą typów.
45bd5da5 66
5133f76b 67%package static
68Summary: Static Typesafe Signal Framework for C++ libraries
635b8004 69Summary(pl.UTF-8): Statyczna biblioteka libsigc++
5133f76b 70Group: Development/Libraries
b02845a0 71Requires: %{name}-devel = %{epoch}:%{version}-%{release}
c014a68e 72
5133f76b 73%description static
74Static Typesafe Signal Framework for C++ libraries.
c014a68e 75
e1f1abbc
JR
76%description static -l pl.UTF-8
77Statyczna biblioteka libsigc++ - środowiska sygnałów z kontrolą typów.
45bd5da5 78
a5958e16
JB
79%package doc
80Summary: Reference documentation for libsigc++
81Summary(pl.UTF-8): Szczegółowa dokumentacja dla libsigc++
82Group: Documentation
83
84%description doc
85Reference documentation for libsigc++.
86
87%description doc -l pl.UTF-8
88Szczegółowa dokumentacja dla libsigc++.
89
c014a68e 90%prep
ab0420db 91%setup -q -n libsigc++-%{version}
c014a68e 92
93%build
32b65b3f 94mm-common-prepare --copy --force
a09c286c 95%{__libtoolize}
f3a3158c 96%{__aclocal} -I build
d91e70f5 97%{__autoconf}
32b65b3f 98%{__autoheader}
d91e70f5 99%{__automake}
57120020 100%configure \
db10935c 101 --disable-silent-rules \
f3a3158c 102 %{?with_static_libs:--enable-static}
db10935c
JB
103%{__make}
104
105%if %{with tests}
106%{__make} check
107%endif
c014a68e 108
109%install
110rm -rf $RPM_BUILD_ROOT
0764e6a0 111
bc7295d0 112%{__make} install \
f864fec3 113 DESTDIR=$RPM_BUILD_ROOT
5133f76b 114
ab0420db
JB
115# obsoleted by pkg-config
116%{__rm} $RPM_BUILD_ROOT%{_libdir}/libsigc-3.0.la
117
c014a68e 118%clean
119rm -rf $RPM_BUILD_ROOT
120
45bd5da5
JB
121%post -p /sbin/ldconfig
122%postun -p /sbin/ldconfig
123
c014a68e 124%files
5133f76b 125%defattr(644,root,root,755)
ab0420db
JB
126%doc AUTHORS ChangeLog NEWS README.md
127%attr(755,root,root) %{_libdir}/libsigc-3.0.so.*.*.*
128%attr(755,root,root) %ghost %{_libdir}/libsigc-3.0.so.0
c014a68e 129
130%files devel
5133f76b 131%defattr(644,root,root,755)
ab0420db
JB
132%attr(755,root,root) %{_libdir}/libsigc-3.0.so
133%{_includedir}/sigc++-3.0
134%{_libdir}/sigc++-3.0
135%{_pkgconfigdir}/sigc++-3.0.pc
a4ed2849 136
8dcfc624 137%if %{with static_libs}
5133f76b 138%files static
ae7d4fa5 139%defattr(644,root,root,755)
ab0420db 140%{_libdir}/libsigc-3.0.a
57120020 141%endif
3c2e80c3
JB
142
143%files doc
144%defattr(644,root,root,755)
ab0420db
JB
145%{_datadir}/devhelp/books/libsigc++-3.0
146%{_docdir}/libsigc++-3.0
This page took 0.094629 seconds and 4 git commands to generate.